package com.wk.paradise.main.config.menu;

import com.wk.paradise.main.bean.pojo.Menu;
import java.util.List;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "menu.page")
public class MenuConfig {

    private List<Menu> submenu;

    public List<Menu> getSubmenu() {
        return submenu;
    }

    public void setSubmenu(List<Menu> submenu) {
        this.submenu = submenu;
    }
}
